package com.genebio.equinox.update.servlets;

import java.io.IOException;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.genebio.equinox.update.Feature;

public class ListFeatures extends HttpServlet {
	private Feature features;

	public ListFeatures() {
		try {
			features=new Feature();
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}
	
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		features.list(resp);
	}
	
	@Override
	public void init(ServletConfig config) throws ServletException {
	}	
}
